package net.display;

import javax.servlet.http.HttpServletRequest;

import net.bo.KAffectation;
import net.bo.KPlan;
import net.bo.KUtilisateur;
import net.ko.controller.KObjectController;
import net.ko.displays.KObjectDisplay;
import net.ko.framework.KoHttp;
import net.ko.framework.KoSession;
import net.ko.http.objects.KHttpSession;
import net.ko.http.objects.KRequest;
import net.ko.http.views.KFieldControl;
import net.ko.http.views.KPageList;
import net.ko.kobject.KListObject;
import net.ko.kobject.KObject;
import net.ko.types.HtmlControlType;

public class DisplayAfficherAffect extends KObjectDisplay {
	
	@Override
	public void beforeLoading(Class<? extends KObject> clazz, KPageList list,
			HttpServletRequest request) {
		String idPLan=KRequest.GETPOST("idPlanDistrib", request);
		request.getSession().setAttribute("plan", idPLan);
		//plan=(String) request.getSession().getAttribute("plan");
	}
	
	
	@Override
    public String getCaption(Class<? extends KObject> clazz) {
		
        return "Utilisateurs";
    }
	
	
	
	
	
	

}
